<template>  
  <view class="webview">  
    <web-view :src="url"></web-view>  
  </view>  
</template>  

<script>  
export default {  
  data() {  
    return {  
      url: ''  
    }  
  },  
  onLoad(options) {  
	
    // 获取从授权页面传过来的 URL  
    this.url = decodeURIComponent(options.url);  
	  console.log("url",this.url)
  }  
}  
</script>  

<style>  
.webview {  
  height: 100%;  
}  
</style>